package com.holly.unit.deform.pojo.ext;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 类描述: 流程节点权限
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/4/7 14:51
 */
@Data
public class ExtActProcessNodeAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    /**id*/
    private String id;
    /**流程ID*/
    //@Excel(name = "流程ID", width = 15)
    private String processId;
    /**节点编码*/
    //@Excel(name = "节点编码", width = 15)
    private String processNodeCode;
    /**规则编码*/
    //@Excel(name = "规则编码", width = 15)
    private String ruleCode;
    /**规则名称*/
    //@Excel(name = "规则名称", width = 15)
    private String ruleName;
    /**策略1显示2禁用*/
    //@Excel(name = "策略", width = 15)
    private String ruleType;
    /**状态(0无效1有效)*/
    //@Excel(name = "状态(0无效1有效)", width = 15)
    private String status;
    /**创建人登录名称*/
    //@Excel(name = "创建人登录名称", width = 15)
    private String createBy;
    /**创建日期*/
    //@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**更新人登录名称*/
    //@Excel(name = "更新人登录名称", width = 15)
    private String updateBy;
    /**更新日期*/
    //@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**表单类型：1Online表单,2自定义表单,3自定义开发*/
    private String formType;
    /**表单设计编码*/
    private String formBizCode;
    /**组件id json中的key*/
    private String desformComKey;

}
